import { createApp } from "vue";
import App from "./App.vue";
import { router, setupRouter } from "@/router/index.js";
import { setupPlugins } from "@/plugins/index.js";
import { setupUtils } from "@/utils/index.js";

const app = createApp(App);

// 注册路由
setupRouter(app);

// 注册插件
setupPlugins(app);

//注册全局方法
setupUtils(app);

router.isReady().then(() => app.mount("#app"));
